<!DOCTYPE html>
<html>
<head>
    <title>LEK1 - Sistem Pencatatan Senjata</title>
    <link href="<?php echo base_url().'assets/'?>css/application.min.css" rel="stylesheet" />
    <link rel="shortcut icon" href="<?php echo base_url().'/assets/'?>img/favicon.png" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <meta name="description" content="" />
    <meta name="author" content="" />
    <meta charset="utf-8" />
    <script src="<?php echo base_url().'assets/'?>lib/jquery/jquery.1.9.0.min.js"> </script>
    <script src="<?php echo base_url().'assets/'?>lib/backbone/underscore-min.js"></script>
    <script src="<?php echo base_url().'assets/'?>js/settings.js"> </script>
    <script src="<?php echo base_url().'assets/'?>js/bootstrap.min.js"> </script>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /></head>
<body>

<div class="single-widget-container">
                <div class="container">
            <?php if (validation_errors()) { ?>
                <div class="alert alert-error">
                    <button type="button" class="close" data-dismiss="alert">×</button>
                    <h4>Terjadi Kesalahan!</h4>
                    <?php echo validation_errors(); ?>
                </div>
            <?php } ?>
            <?php if ($this->session->flashdata('result_login')) { ?>
                <div class="alert alert-error">
                    <button type="button" class="close" data-dismiss="alert">x</button>
                    <h4>Terjadi Kesalahan!</h4>
                    <?php echo $this->session->flashdata('result_login'); ?>
                </div>
            <?php } ?>
        </div>
    <section class="widget login-widget">
        <header class="text-align-center">
            <h4>Masuk ke Akun Anda !</h4>
        </header>
        <div class="body">
            <?php echo form_open('login/do_login', 'id="loginform" class="no-margin"'); ?>
                <fieldset>
                    <div class="control-group no-margin">
                        <label class="control-label" for="username">Username</label>
                        <div class="control">
                            <div class="input-prepend input-padding-increased">
                                <span class="add-on">
                                    <i class="eicon-user icon-large"></i>
                                </span>
                                <input id="username" type="text" placeholder="Username Anda" name="username" />
                            </div>
                        </div>
                    </div>

                    <div class="control-group">
                        <label class="control-label" for="password">Password</label>
                        <div class="control">
                            <div class="input-prepend input-padding-increased">
                                <span class="add-on">
                                    <i class="icon-lock icon-large"></i>
                                </span>
                                <input id="password" type="password" placeholder="Password Anda" name="password"/>
                            </div>
                        </div>
                    </div>
                </fieldset>
                <div class="form-actions">
                    <button type="submit" class="btn btn-block btn-large btn-danger">
                        <span class="small-circle"><i class="icon-caret-right"></i></span>
                        <small>Masuk</small>
                    </button>
                    <div class="forgot"></div>
                </div>
            <?php echo form_close(); ?>
        </div>
    </section>
</div>
</body>
</html>